package com.choosefine.base.attendance.client.device

import com.google.common.base.CaseFormat
import org.junit.Test
import org.junit.runner.RunWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner

/**
 * Created by 邱鹏 on 2017/8/29.
 */
@RunWith(SpringJUnit4ClassRunner::class)
@SpringBootTest
class DeviceApiTest {
    @Autowired lateinit var api: DeviceApi
    @Test
    fun getRecord() {
    }
    @Test
    fun getRecordAndSave() {
        api.getRecordAndSave()
    }
    @Test
    fun kfun() {
        println(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "test_data"))
    }

    @Test
    fun machineinfo() {
        println(api.machineInfoAndSave())
    }

    @Test
    fun getEmployeeIdList() {
    }

    @Test
    fun getEmployeeById() {
    }

    @Test
    fun getEmployeePhoto() {
    }

    @Test
    fun enrollEmployee() {
    }

}
